package dao;

import model.Provider;

public interface ProviderDAO {

	// create
	boolean add(String NPI, String name, String gender, String location,
			String zipcode, String longitude, String latitude, 
			String specialty);
	boolean add(Provider provider);

	// read
	Provider[] 	getAll();
	Provider 	getById(Integer id);
	Provider 	getByNPI(String NPI);
	Provider[] 	getByName(String name);
	Provider[] 	getByGender(String gender);
	Provider[] 	getByLocation(String location);
	Provider[] 	getByZipcode(String zipcode);
	Provider[] 	getBySpecialty(String specialties);
	
	// update
	boolean update(Provider provider);

	// delete
	boolean delete(Provider provider);
}

